/* riders pages */

/* Join us page */
div#join_left{
    float: left;
}
div#join_left img{
    float: left;
    border-radius: 5px 0 0 5px;
	-moz-border-radius: 5px 0 0 5px;
    -webkit-border-radius: 5px 0 0 5px;
    width: 334px;
    height:455px;
}
div#join_right{
    float: left;
	width: 660px;
}
form#join_form{
    padding: 20px 0 0 20px;
    float: left;
    font-size: 12px;
}
span#join_info{
    font-size: 18px;
    font-weight: bold;
    color: #74a474;
    margin: 10px;
    display: block;
}
table#join_table{
    margin: 20px;
}
table#join_table th{
    text-align: right;
    color: #74a474;
    padding: 6px;
}
table#join_table td{
    padding: 6px;
}
input,textarea,select{
    border: solid 1px #74a474;
}
span.tips{
    color: #666666;
    font-style: italic;
    font-size: 11px;
}
span#back_logo{
    color: #CCCCCC;
    float: right;
    font-size: 50px;
    font-style: italic;
    font-weight: bold;
    margin-right: 20px;
}

/* edit profile page */
form#edit_form{
    padding: 20px;
    float: left;
    font-size: 12px;
}
div#edit_profile_left{
    float: left;
    width: 350px;
}
.profile_table th{
    text-align: right;
    color: #74a474;
    padding: 6px;
}
div#edit_profile_right{
    float: left;
    width: 550px;
}
div#routes_map_container{
    width: 550px;
    height:360px;
}
div#routes_search{
    width: 552px;
}
img#my_photo{
    max-width:100px;
    max-height: 100px;
    border: solid 1px #cccccc;
    border-radius: 10px;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}



/* riders map */
div#ridersmap{
	padding: 10px;
}
div#ridersmap div#routes_map_container {
    border: 1px solid #AAAAAA;
    width: 980px;
    height: 660px;
    overflow: hidden;
}
div#ridersmap div#routes_map_directions {
    width: 980px;
}
div#ridersmap div#routes_map_elevation_chart{
    border: 1px solid #AAAAAA;
    width: 980px;
    display: none;
}
div#ridersmap div#routes_search {
    background: none repeat scroll 0 0 #333333;
    width: 982px;
    height:32px;
    border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    padding-top: 2px;
    padding-bottom: 2px;
}

/* rider infobox in gmap */
div.infobox {
    border : 1px solid #222222;
    position: absolute;
    background: #ffffff;
    border-radius: 4px;
	-moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    font-size: 12px;
}
div.topdiv {
    background: #74a474;
    float: left;
    width: 266px;
    height: 28px;
    border-radius: 4px 4px 0 0;
	-moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    border-bottom: 1px solid gray;
}
div.topdiv span {
    overflow: hidden;
    width: 234px;
    height: 18px;
    padding-left: 5px;
    padding-top: 5px;
    position: absolute;
}
div.topdiv span img {
    float: none;
    width: 16px;
    height: 16px;
    vertical-align: text-top;
}
div.topdiv a{
    width: 234px;
    height: 18px;
    overflow: hidden;
    color: #333333;
    font-weight: bold;
    position: absolute;
    font-size: 16px;
}
div.topdiv img {
    width: 28px;
    height: 28px;
    cursor: pointer;
    float: right;
}
div.content {
    width: 100%;
    height: 112px;
    float: left;
}
div.content img.my_photo{
    max-width:80px;
    max-height: 80px;
    margin-right: 10px;
    border: solid 1px #cccccc;
    border-radius: 10px;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    float: left;
}
div.content p{
    float: left;
    width: 170px;
    margin-top: 2px;
}

/* rider profile page */
div#user_left{
    padding: 10px;
    float: left;
    border-right: solid 1px #cccccc;
    width: 242px;
    font-size: 0.9em;
}
div#user_right{
    margin: 10px 10px 10px 0;
    float: right;
    width: 710px;
}

.left_block{
    width: 240px;
    float: left;
    border-bottom: thin dotted #BBBBBB;
    padding-bottom: 5px;
}
.left_item{
    display: block;
    position: relative;
    float: left;
    overflow: hidden;
    width: 110px;
    height: 130px;
    margin: 5px;
}
.left_item img{
    border: solid 1px #cccccc;
    max-height: 99px;
    max-width: 99px;
    min-height: 50px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
.left_list {
    width: 100%;
    overflow: hidden;
    background-color: #EEEEEE;
}
#photo{
    float:left;
    max-width:100px;
    max-height: 100px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
#name_location{
    float:left;
    margin-left:5px;
    width: 130px;
    font-size: 0.9em;
}
#name_location #name{
    font-weight: bold;
}
#name_location p{
    margin-bottom: 2px;
}
#intro{
    font-size: 0.8em;
    font-style: italic;
    color: #777777;
}
.details {
    display: none;
    position: absolute;
    font-size: 0.8em;
    background-color:#eeeeee;
    border: solid 1px #cccccc;
    border-radius: 6px;
	-moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    z-index: 999;
    padding: 4px;
}
fieldset{
    padding-left: 10px;
    border: solid 1px #cccccc;
    border-radius: 5px;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-color:#eeeeee;
    float: left;
    margin: 10px;
}
#activity_fieldset{
    width: 60%;
}
#stats_fieldset{
    width: 30%;
}
#stats,#activity {
    padding: 5px;
    font-size: 0.8em;
}
#activity img{
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin: 2px;
}
#tabs{
    margin-top:10px;
    font-size: 0.9em;
}
.tab_img{
    width:24px;
    height:24px;
    vertical-align: middle;
}
#add_bike_form{
    display: none;
    background-color: #EEEEEE;
    font-size: 11px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
#add_bike_form th{
    text-align: right;
    color: #74a474;
    padding: 4px;
}
#bike_photo{
    width:100px;
    max-width: 100px;
}
.ride {
    margin: 2px;
}
.ride a{
    color: #FE9D01;
}
/*Routes Tab*/
.container{
    float:left;
    width: 100%;
}
.alt {
    background-color: #eeeeee;
}
.route_row {
    float: left;
    width: 100%;
    border: 1px solid #cccccc;
    border-radius: 6px;
    position: relative;
}
.preview_map {
    float: left;
    margin: 4px;
    border: 1px solid #CCCCCC;
    width: 80px;
    height: 60px;
    text-align: center;
    font-size: 10px;
    background: transparent url("/static/images/map_loading.png") no-repeat 0 0;
}
.preview_img {
    width: 80px;
    height: 60px;
}
.distance {
    float:left;
    margin: 4px;
    width: 70px;
    height: 60px;
    border: 1px solid #74a474;
    border-radius: 3px;
}
.distance .value {
    display: block;
    font-weight: bold;
    color: #333333;
    font-size: 1.3em;
    text-align: center;
    padding-top: 10px;
}
.distance .unit {
    display: block;
    color: #999999;
    font-size: 0.8em;
    text-align: center;
}
.title_container {
    float:left;
    margin: 4px;
    width: 460px;
}
.title_container a{
    font-weight: bold;
    color: #FE9D01;
}
.title_container span{
    display: block;
    font-size: 0.9em;
    color: #cccccc;
}
.title_container .route_location{
    color: #999999;
    font-size: 0.8em;
}
#routes_loading{
    text-align:center;
    display: none;
}
#div_load_more{
    text-align:center;
}
#div_load_more a{
    color: #FE9D01;
}

/*search page*/
#search_bar{
    text-align: center;
}
#search_bar_search{
    background: none repeat scroll 0 0 #EEE;
    border-radius: 5px;
    -moz-border-radius: 5px;
    height: 27px;
    margin: 4px 20px 0 0px;
}

#search_bar_txt{
    width: 300px;
    height: 22px;
}
#search_bar_btn{
    background: url("/static/images/search_btn.gif") no-repeat scroll 0 0 transparent;
    border: none;
    height: 24px;
    overflow: hidden;
    right: 2px;
    text-indent: -999em;
    top: 2px;
    width: 23px;
    cursor: pointer;
}

.user_info{
    height: 72px;
    width: 49%;
    float: left;
    font-size: 0.8em;
    margin: 4px;
    background-color: #eeeeee;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
.user_info .photo{
    float:left;
    max-width:60px;
    max-height: 60px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    margin: 6px;
}
.user_info .name_location{
    width: 54%;
    float: left;
}
.user_info .intro{
    font-size: 0.8em;
    font-style: italic;
    color: #777777;
}
.user_info a{
    font-weight: bold;
    color: #FE9D01;
}
.user_info .stats{
    width: 30%;
    float: right;
    height: 60px;
    padding: 6px 0 6px 0;
}
.div_load_more{
    text-align:center;
    cursor: pointer;
    margin: 4px 0px;
    padding: 4px 0px;
    font-weight: bold;
}
.div_load_more:hover{
    background-color: #FFFACD;
}
.div_load_more a{
    color: #FE9D01;
}
.loading{
    text-align:center;
    display: none;
}

#comments_container li{
    list-style: none;
    display: block;
    padding: 10px 10px 6px 4px;
    margin: 5px 10px;
    float: left;
    width: 45%;
    border: 1px solid #E0E0E0;
}
#comments_container .comment_header{
    width: 42px;
    float: left;
}
#reviewer_url img{
    max-width: 32px;
    max-height: 32px;
    border: none;
    float: left;
    margin: 4px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}
#comment_type img{
    border: none;
    float: left;
    margin: 4px;
}
#comments_container .comment {
    float: left;
    width: 250px;

}
#comments_container .comment a{
   color: #FE9D01;
}
#comments_container .comment_photo {
    max-width: 120px;
    max-height: 90px;
    float: right;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}